package com.jw.qme.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jw.qme.domain.po.Friend;
import org.apache.ibatis.annotations.Param;

/**
 * ClassName: com.jw.qme.mapper
 * Datetime: 2025/4/4 下午7:23
 * Description:
 *
 * @author 汪佳泉
 * @version 1.0
 * @since 1.0
 */
public interface FriendMapper extends BaseMapper<Friend> {

    Friend selectFriendRelation(@Param("loginId") String loginId, @Param("friendName") String friendName);

    void updateStatusByPrimaryKey(@Param("userId") String loginId, @Param("friendId") String friendName,@Param("status") Integer status);

}
